import Vue from 'vue'
import Router from 'vue-router'
import login from '@/components/login'
import manager from '@/components/manager'
import user from '@/components/user'
import register from "@/components/register"
import user1 from "@/components/user1"
import query from "@/components/manager/query"
import add from "@/components/manager/add"
import modify from "@/components/manager/modify"
Vue.use(Router)
export default new Router({
  routes: [
    {
      path: '/',
      name: 'login',
      component:login
    },
    {
      path:'/manager',
      name:"manager",
      component:manager
    },
    {
      path:'/user',
      name:"user",
      component:user
    },
    {
      path:'/user1',
      name:"user1",
      component:user1
    },
    {
      path:"/register",
      name:"register",
      component:register
    },
    {
      path:"/query",
      name:"query",
      component:query
    },
    {
      path:"/add",
      name:"add",
      component:add
    },
    {
      path:"/modify",
      name:"modify",
      component:modify
    }
  ],
})

